home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr45 / cdplay32.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-04-02  |  892b  |  39 lines

  1. @echo off
  2. if %1!==! goto help
  3. goto start
  4. :help
  5. @echo off
  6. echo  
  7. echo  
  8. echo Type INSTALL followed by the drive letter of the hard disk on which
  9. echo CDPlayer is to be installed.
  10. echo For expample:
  11. echo  
  12. echo INSTALL C
  13. echo  
  14. echo This will install CDPlayer in a directory called CDPLAYER on drive C.
  15. echo  
  16. goto exit
  17. :start
  18. @echo off
  19. Echo Installing CDPlayer on %1:
  20. md %1:\cdplayer > nul
  21. copy install.bat %1:\cdplayer > nul
  22. if exist %1:\cdplayer\install.bat goto continue
  23. Echo Cannot create directory
  24. goto help
  25. :continue
  26. cd %1:\cdplayer
  27. echo Copying files ......
  28. copy cdplayer.exe %1: > nul
  29. copy cdtsr.exe %1: > nul
  30. copy *.txt %1: > nul
  31. copy *.frm %1: > nul
  32. copy upgrade.zip %1: > nul
  33. copy *.dos %1: > nul
  34. del %1:install.bat > nul
  35. echo Installation complete.
  36. echo To run change to the directory CDPLAYER and type CDPLAYER followed by
  37. echo return.
  38. :exit
  39.